Skip to content

Conversation

@trancexpress
Copy link
Contributor

Its possible that a marker is deleted, while its info is being retrieved. This will produce a logged error such as: "Marker id 6922 not found.", while the caller continues working without the info.

In this case, the logged error is not necessary - the marker is gone, not being able to retrieve its info is expected behavior.

This change adjusts MarkerUtilities to not log an error for a not found Marker, if the marker is not existing at the time of catching the respective exception.

Fixes: #2219

Its possible that a marker is deleted, while its info is being retrieved.
This will produce a logged error such as: "Marker id 6922 not found.",
while the caller continues working without the info.

In this case, the logged error is not necessary - the marker is gone,
not being able to retrieve its info is expected behavior.

This change adjusts MarkerUtilities to not log an error for a not found Marker,
if the marker is not existing at the time of catching the respective exception.

Fixes: eclipse-platform#2219
@laeubi
Copy link
Contributor

laeubi commented Oct 30, 2025

@trancexpress 👍 from me for getting rid of usless errors, removing a marker that is removed should simply be silent.

@github-actions
Copy link
Contributor

Test Results

 3 018 files  ±0   3 018 suites  ±0   2h 25m 27s ⏱️ + 2m 44s
 8 234 tests ±0   7 984 ✅  - 1  249 💤 ±0  1 ❌ +1 
23 622 runs  ±0  22 827 ✅  - 1  794 💤 ±0  1 ❌ +1 

For more details on these failures, see this check.

Results for commit 5fec6b9. ± Comparison against base commit 68371cb.

@iloveeclipse
Copy link
Member

Jenkims build error is unrelated.

21:47:37.862 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.12.0:jar (attach-javadocs) on project org.eclipse.ui.tests.navigator: MavenReportException: Error while generating Javadoc: 
21:47:37.862 [ERROR] Exit code: 1
21:47:37.862 [ERROR] error: Error fetching URL: https://docs.osgi.org/javadoc/osgi.core/8.0.0/ (java.net.ConnectException: Connection timed out)
21:47:37.862 [ERROR] 1 error
21:47:37.862 [ERROR] Command line was: /opt/tools/java/temurin/jdk-21/jdk-21.0.8+9/bin/javadoc -J-Duser.language

@iloveeclipse iloveeclipse merged commit 2ab6962 into eclipse-platform:master Oct 30, 2025
12 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants